/*
 * data_buffer.h
 *
 *  Created on: Dec 8, 2012
 *      Author: andrey
 */

#ifndef DATA_BUFFER_H_
#define DATA_BUFFER_H_

#define MAX_SIZE 32

typedef struct {
	int elements[MAX_SIZE];
	int size;
} data_buffer_s;

void initDataBuffer(data_buffer_s *db);
void addValue(data_buffer_s *db, int value);
void printDataBuffer(data_buffer_s *db, char *message);


#endif /* DATA_BUFFER_H_ */
